<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />

<link rel="SHORTCUT ICON" href="images/url_logo.png">

<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta name="description" content="Buy secondhand horse saddles online with our large range of horse saddles for most disciplines including General Purpose | Dressage | Eventing | Working | Hunter and VSD. Buy or sell used horse saddles online.">

<title>24-7 Saddles | Customer feedback</title>

<!-- Website tracking -->
<script>
  (function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
  (i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
  m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
  })(window,document,'script','//www.google-analytics.com/analytics.js','ga');

  ga('create', 'UA-54780113-1', 'auto');
  ga('send', 'pageview');

</script>
<!-- Website tracking -->

<link href="css/header.css" rel="stylesheet" type="text/css">
<link href="css/navigation.css" rel="stylesheet" type="text/css" />
<style type="text/css">
body {
	background-image: url(images/wood2.jpg);
	background-repeat: repeat-x;
	margin: 0px;
	background-position: left top;
	background-attachment: fixed;
	background-color: #000000;
	padding-top: 0px;
	padding-right: 0px;
	padding-bottom: 0px;
	padding-left: 0px;
}
</style>
<link href="css/customer_feedback.css" rel="stylesheet" type="text/css" />
</head>

<body>

<div id="page_container">

<?php include "header.php" ?>

<?php include "navigation.php" ?>

<div id="feedback_container">

<ul>

<?php 

include "connect.php";

$query = "SELECT * FROM customer_feedback WHERE feedback_status = 'Accepted' ";
$result = mysql_query($query);
while($row = mysql_fetch_array($result))
	 
	 {
		 
		$feedback_date = $row['feedback_date'];
		$feedback_date = date("d/m/Y", strtotime($feedback_date));
		 
		echo   '<li id="customer_feedback">
				<h2>'.$row['customer_name'].'</h2>
				<p id="feedback_message">'.$row['feedback'].'</p>
				</li>';
	 }

?>

</ul>

</div>

</div> 
<!--page_container-->

<?php include "footer.php" ?>

</body>
</html>